package cn.gemiman.daoyi.module.cms.controller.admin.appsite.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.gemiman.daoyi.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.gemiman.daoyi.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 站点分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppSitePageReqVO extends PageParam {

    @Schema(description = "站点类型", example = "2")
    private Integer terminalType;

    @Schema(description = "站点标识", example = "8328")
    private String appId;

    @Schema(description = "站点名称", example = "张三")
    private String appName;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    /**
     * 绑定域名
     */
    @Schema(description = "绑定域名")
    private String bindDomain;
    /**
     * 用户类型
     */
    private Integer userType;
    /**
     * 用户编号
     */
    private Long userId;
    /**
     * 用户昵称
     */
    private String userNickname;
    /**
     * 用户头像
     */
    private String userAvatar;
    /**
     * 评论状态
     * <p>
     * 枚举 {@link TODO common_status 对应的类}
     */
    private Integer status;
    /**
     * 审核状态
     * <p>
     * 枚举 {@link TODO bpm_process_instance_status 对应的类}
     */
    private Integer approveStatus;
}
